import React from 'react'
import axios from 'axios'
import PubSub from 'pubsub-js';



export default function Header() {
  const[search,setSearch] = useState("")
  
  
  return (
    <section className="jumbotron">
    <h3 className="jumbotron-heading">Search Github Users</h3>
    <div>
      <input type="text" value={search} onChange={changeSearchHandle} placeholder="enter the name you search" />
      &nbsp;
      <button onClick={searchHandle}>Search</button>
    </div>
  </section>
  )
}
